Skip to content

Conversation

@UsatovPavel
Copy link
Collaborator

Move data and logic from StatisticsVM to StatsStore
StatisticsVM uses mutableUiState updated from StatsStore.
Add Achievment Tests, create AchievmentType enum-data for each Achievment
Fixup TotalTaskTypes percentage, mutable states in Achievment&StatisticsScreen
Add AudioRepository for send audio to server.(currently server recieve it, send to openAI & response 400)

UsatovPavel and others added 13 commits June 4, 2025 17:20
Now client send server id, Task state after all tasks operations works
Optimize imports
Add StatisticsCalculator class, which support update typesInDay, continues Current/Success days in statistics

Rename notification lib to work
Add test for Achievement
Refactor: Add AchievementType enum which provide data to AchievementCard
Нашёл багу в StatisticsVM. getTotalTime() не передаёт State оказывается
Move statistics state classes to state directory
Add CalculatorTests for just Calculator& Calculator inside VM
Refactor VM's BeforeAll/After methods
Add Reminders change after edit/delete/patch task
Recieve registerDay from server in statsVM init, send when register(for stats.averageVars)
Create AudioRepo, Interface&ChatResponse to recieve tasks for audio from
server
Add StatisticsStore-singlton class for statistics data
Try send audio to server through worker
Look at next commit why it will not work in our app
Add mutable uiState in StaticticsVM which update from StatsStore
Send audio to server in AudioRepository instead async with worker(MVVM architecture need Database to move changes to VM).
OpenAI API don't work
Add percent test, fixup TotalTaskTypes
Recieve date from server and if it not today recalc week and today stats.
Remove debug info button&token from AuthScreen
@UsatovPavel UsatovPavel merged commit 1922929 into main Jun 11, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant